package com.company.project.robot.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.company.project.sys.entity.BaseEntity;


import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 机器人对话表
 *
 * @author zyf
 * @email 2102378781@qq.com
 * @date 2021-11-05 11:05:29
 */
@Data
@TableName("dialogue")
public class DialogueEntity extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键管理
     */
    @TableId("id")
    @ApiModelProperty(value = "主键管理")
    private String id;

    /**
     * 问题
     */
    @TableField("problem")
    @ApiModelProperty(value = "问题")
    private String problem;

    /**
     * 答案
     */
    @TableField("answer")
    @ApiModelProperty(value = "答案")
    private String answer;

    /**
     * 是否完全匹配
     */
    @TableField("is_match")
    @ApiModelProperty(value = "是否完全匹配")
    private Integer isMatch;

    /**
     * 假删除（1是 0否）
     */
    @TableField("deleted")
    @ApiModelProperty(value = "假删除（1是 0否）")
    private Integer deleted;


}
